home *** CD-ROM | disk | FTP | other *** search
/ CD ROM Paradise Collection 4 / CD ROM Paradise Collection 4 1995 Nov.iso / program / swagd_f.zip / FAQ.SWG / 0005_BORLAND - MAC Pascal QA.pas < prev    next >
Pascal/Delphi Source File  |  1993-06-01  |  971b  |  24 lines

  1.  
  2. TP / TPMAC - PC / MACINTOSH PORTABILITY
  3. Q. How portable is the PC version of Turbo Pascal to the 
  4.    Macintosh?
  5. A. Any Portion of the program that is Standard Pascal will port 
  6.    over nicely.  However, the PC and the Macintosh are two
  7.    completely different machines and any PC or Macintosh
  8.    specific code will have to be rewritten.  PC programmers will
  9.    generally want to rewrite the user interface so that is
  10.    similar to what Macintosh users expect to see on a serious
  11.    Macintosh application.
  12.  
  13.  
  14. TPMAC 1.0 1.1 - PASPRINTER PRINT WITHIN PROGRAM
  15. Q. How do I print from within a program?
  16. A. Uses PasPrinter and Writeln(Printer, data);
  17.  
  18. TPMAC 1.0 1.1 READLN WRITELN - THE MISSING SUPPORT UNIT ERROR
  19. Q. I get a runtime error message saying that the support unit
  20.    is missing when I try to use a Readln or Writeln.
  21. A. Take out the {$U-} directive.  It causes the PasConsole and
  22.    PasInOut units to not link in with the program and units.
  23.  
  24.